package com.softeem.service;

import java.util.List;

import com.softeem.model.Reservoir;

public interface IReservoirService {
    
    /**
     * 查询水库总数
     * @return
     */
    public int queryReservoirCount();
    
    public List<Reservoir> queryReservoirs(Reservoir r);
    
    /**
     * 根据水库id查询水库
     * @param Reservoirid
     * @return
     */
    public Reservoir queryReservoirById(int Reservoirid);
    
    /**
     * 新增水库
     * @param Reservoir
     * @return
     */
    public int insertReservoir(Reservoir Reservoir);
    
    /**
     * 修改水库
     * @param Reservoir
     * @return
     */
    public int updateReservoir(Reservoir Reservoir);
    
    /**
     * 根据水库id删除水库
     * @param Reservoir_id
     * @return
     */
    public int deleteReservoirById(int Reservoir_id);
}
